<!DOCTYPE html>
<uieip type="page" value="login"></uieip>
<uieip type="reg" value="console"></uieip>
<html>

<head>
  <uieip type="file" value="inc" src="/yqwin/easyui/include.txt" cache="true" minute="1440"></uieip>
  <uieip type="file" value="css" src="/yqwin/css/yqwin.min" cache="true"></uieip>
  <uieip type="file" value="js" src="/yqwin/src/yqwin.min" cache="true"></uieip>
  <title>框架</title>
  <style type="text/css">
    body {
      padding: 0;
      margin: 0;
    }
  </style>
</head>

<body>
  <div id="m_layout" style="width:90%;height:550px;">
  </div>
  <script type="text/javascript" src="/adp/svradmin/js/yq.runtime.js"></script>
  <script>
    $(function () {
      init_ui();
    });

    function form_load() {
      $(window).resize(function () {
        onresize();
      });
      onresize();
    }

    function onresize() {
      var w = window.innerWidth;
      var h = window.innerHeight - 4;

      $("#m_layout").yqRuntime("resize", {
        width: w,
        height: h
      });
    }

    function init_ui() {
      $("#m_layout").yqRuntime({
        afterBindingTitle: function () {
          form_load();
        },   //标题绑定后
      });
    }
  </script>
</body>

</html>